package com.education.service.edu.feign.fallback;

import com.education.result.R;
import com.education.service.edu.feign.VodMediaService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 容错方法
 * Created by Lance on 2020/07/01 14:38
 */
@Service
@Slf4j
public class VodMediaServiceFallBack implements VodMediaService {

    @Override
    public R removeVideoByIdList(List<String> videoIdList) {
        log.warn("熔断保护");
        return R.error();
    }
}
